<template>
	<view class="address">
		<view class="address-list">
			<view class="gname">
				111
			</view>
			<view class="gname">
				111
			</view>
			<view class="gname">
				111
			</view>
			<view class="gname">
				111
			</view>
		</view>
		<button class="lc-btn" @click="addAddress">＋新增地址</button>
	</view>
</template>
<script>
	export default {
		methods:{
			addAddress(){
				console.log("去新增");
				this.$tool.pageTo('add')
			}
		}
		
	}
</script>
<style lang="scss">
	.address{
		.address-list{
			margin: 20rpx;
			background-color: #FFFFFF;
			border-radius: 10rpx;
		}
		.lc-btn{
			margin:0 20rpx;
			border-radius: 990rpx;
			background-color: red;
			color: #FFFFFF;
		}
	}
</style>